package com.gpj.security.controller;

import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @className LoginController
 * @description
 *   TODO
 * @author GPJ
 * @date 2023/11/7 22:17
 * @version 1.0
 **/
@RestController
@RequestMapping("/user")
public class UserController {
	@RequestMapping(value = "/save")
	public String save(){
		return "新增人员成功";
	}
}
